package com.example.demo.customer;

import java.util.Arrays;
import java.util.List;

//@Repository(value = "fake")   (可以被注解)

public class CustomerFakeRepository implements CustomerRepo{
    @Override
    public List<Customer> getCustomers(){
        return Arrays.asList(
                new Customer(1L,"始皇帝","password123", "email@gmail.com"),
                new Customer(2L,"项羽","passoword456", "email@gmail.com")
        );
    }
}
